package com.swxy.club.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 社团角色定义表
 * </p>
 *
 * @author dyh
 * @since 2025-04-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("club_roles")
@ApiModel(value="ClubRoles对象", description="社团角色定义表")
public class ClubRole  extends BaseDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色唯一编码（如：ROLE_ADMIN）")
    @TableId(value = "role_code", type = IdType.AUTO)
    private String roleCode;

    @ApiModelProperty(value = "角色名称（如：管理员）")
    private String roleName;

    @ApiModelProperty(value = "角色功能或权限描述")
    private String description;



}
